package com.rambo.spm.sys.dao.inter.po;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 操作日志
 * </p>
 *
 * @author rambo
 * @since 2017-07-28
 */
@TableName("operation_log")
public class OperationLogPO extends Model<OperationLogPO> {

    private static final long serialVersionUID = 1L;
    @TableId("uuid")
    private String uuid;
    @TableField("oper_userid")
    private String operUserid;
    @TableField("oper_userip")
    private String operUserip;
    @TableField("oper_modular")
    private String operModular;
    @TableField("oper_content")
    private String operContent;
    @TableField("oper_class")
    private String operClass;
    @TableField("oper_method")
    private String operMethod;
    @TableField("oper_time")
    private Date operTime;
    @TableField("oper_result")
    private String operResult;
    @TableField("error_msg")
    private String errorMsg;


    public String getUuid() {
        return uuid;
    }

    public void setUuid(String uuid) {
        this.uuid = uuid;
    }

    public String getOperUserid() {
        return operUserid;
    }

    public void setOperUserid(String operUserid) {
        this.operUserid = operUserid;
    }

    public String getOperUserip() {
        return operUserip;
    }

    public void setOperUserip(String operUserip) {
        this.operUserip = operUserip;
    }

    public String getOperModular() {
        return operModular;
    }

    public void setOperModular(String operModular) {
        this.operModular = operModular;
    }

    public String getOperContent() {
        return operContent;
    }

    public void setOperContent(String operContent) {
        this.operContent = operContent;
    }

    public String getOperClass() {
        return operClass;
    }

    public void setOperClass(String operClass) {
        this.operClass = operClass;
    }

    public String getOperMethod() {
        return operMethod;
    }

    public void setOperMethod(String operMethod) {
        this.operMethod = operMethod;
    }

    public Date getOperTime() {
        return operTime;
    }

    public void setOperTime(Date operTime) {
        this.operTime = operTime;
    }

    public String getOperResult() {
        return operResult;
    }

    public void setOperResult(String operResult) {
        this.operResult = operResult;
    }

    public String getErrorMsg() {
        return errorMsg;
    }

    public void setErrorMsg(String errorMsg) {
        this.errorMsg = errorMsg;
    }

    @Override
    protected Serializable pkVal() {
        return this.uuid;
    }

    @Override
    public String toString() {
        return "OperationLog{" + "uuid=" + uuid + ", operUserid=" + operUserid + ", operUserip=" + operUserip + ", operModular=" + operModular + ", operContent=" + operContent + ", operClass=" + operClass + ", operMethod=" + operMethod + ", operTime=" + operTime + ", operResult=" + operResult + ", errorMsg=" + errorMsg + "}";
    }
}
